PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowDocumentToCSettings Class / setContentsPageNumbers Method
The page numbers to be displayed for the pages that appear in the table of contents.
In This Topic
    setContentsPageNumbers Method
    In This Topic
    Sets the collection of page numbers.
    The pairs in this collection specify a page and a number (or any string that can server as page number). If the page appears in the table of contents (because it contains a heading that is included in the table of contents), the corresponding page number will be displayed for the heading.
    Syntax
    public void setContentsPageNumbers( 
       java.util.HashMap<PDFPage,String> value
    )

    Parameters

    value
    The page numbers to be displayed for the pages that appear in the table of contents.
    See Also